package com.example.teesystem.entity.vo.examIssue;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author : NieYaShi
 * @version : v1.0
 * @createTime : 2022/4/12 16:03
 */
@Data
public class ExamIssueUpdateVo {
    @NotNull(message = "试卷id不能为空")
    private Integer paperId;

    @Valid
    @NotEmpty(message = "试题分值列表不能为空")
    private List<IssueScoreVo> issueScoreVoList;

}
